A Theory of Name Resolution with Extended Coverage and Proofs
نویسندگان
چکیده
We describe a language-independent theory for name binding and resolution, suitable for programming languages with complex scoping rules including both lexical scoping and modules. We formulate name resolution as a two-stage problem. First a language-independent scope graph is constructed using language-specific rules from an abstract syntax tree. Then references in the scope graph are resolved to corresponding declarations using a language-independent resolution process. We introduce a resolution calculus as a concise, declarative, and languageindependent specification of name resolution. We develop a resolution algorithm that is sound and complete with respect to the calculus. Based on the resolution calculus we develop language-independent definitions of α-equivalence and rename refactoring. We illustrate the approach using a small example language with modules. In addition, we show how our approach provides a model for a range of name binding patterns in existing languages.
منابع مشابه
Corefrence resolution with deep learning in the Persian Labnguage
Coreference resolution is an advanced issue in natural language processing. Nowadays, due to the extension of social networks, TV channels, news agencies, the Internet, etc. in human life, reading all the contents, analyzing them, and finding a relation between them require time and cost. In the present era, text analysis is performed using various natural language processing techniques, one ...
متن کاملتأملی نو در نظریه عینیت ذات و صفات الهی
Critical investigation of Identity of essence and attributes of GodThe quality of the relationship between essence and attributes of God is one of the most important issues among islamic thinkers. One of the most important theories in this field is the theory of Identity of essence and attributes of God that divided in turn into two branches,I mean, external identification and conceptual ...
متن کاملStatistical downscaling of GRACE gravity satellite-derived groundwater level data
With the continued threat from climate change, population growth and followed by increasing water demand, the need for hydrological data with high spatial resolution and proper time coverage to be felt more than ago. Therefore, having data such as terrestrial water storage changes and groundwater level changes with high resolution spatial helps to plan and make decisions for water resource mana...
متن کاملA game theory approach for determining optimum strategy of claim resolution in construction projects
Claim is a big challenge for the contractors and the owners in construction projects. Claims are considered to be one of the most disruptive events of a project. A suitable claim resolution strategy can prevent the damages to the project and the involved parties. In this research, a mathematical model using game theory is presented to find the optimum strategy for resolving cost-related claims ...
متن کاملAn Integration of Resolution and Natural Deduction Theorem Proving
We present a high-level approach to the integration of such different theorem proving technologies as resolution and natural deduction. This system represents natural deduction proofs as X-terms and resolution refutations as the types of such X-terms. These type structures, called ezpansion trees, are essentially formulas in which substitution terms are attached to quantifiers. As such, this ap...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015